package com.xinqi.modules.user.user.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户扩展信息-请求对象-新增
 *
 * @author: wenjie
 * @date: 2023/05/17
 */
@Data
@Schema(description = "用户扩展信息-请求对象-新增")
public class UserExtendCreateDTO implements Serializable {

    /**
     * 用户ID
     */
    @Schema(description = "用户ID", example = "")
    private Long userId;
    /**
     * 邮箱修改次数
     */
    @Schema(description = "邮箱修改次数", example = "")
    private Integer emailTimes;
    /**
     * 邮箱更新时间
     */
    @Schema(description = "邮箱更新时间", example = "")
    private LocalDateTime emailUpdateTime;
    /**
     * 手机号修改次数
     */
    @Schema(description = "手机号修改次数", example = "")
    private Integer mobileTimes;
    /**
     * 手机号更新时间
     */
    @Schema(description = "手机号更新时间", example = "")
    private LocalDateTime mobileUpdateTime;
    /**
     * 新奇号修改次数
     */
    @Schema(description = "新奇号修改次数", example = "")
    private Integer times;
    /**
     * 新齐号更新时间
     */
    @Schema(description = "新齐号更新时间", example = "")
    private LocalDateTime xqUpdateTime;
    /**
     * 生日
     */
    @Schema(description = "生日", example = "")
    private Long birthday;
    /**
     * 连续登录天数
     */
    @Schema(description = "连续登录天数", example = "")
    private Integer successions;
    /**
     * 最大连续登录天数
     */
    @Schema(description = "最大连续登录天数", example = "")
    private Integer maxSuccessions;
    /**
     * 上次登录时间
     */
    @Schema(description = "上次登录时间", example = "")
    private Long preLoginTime;
    /**
     * 登录时间
     */
    @Schema(description = "登录时间", example = "")
    private Long loginTime;
    /**
     * 登录IP
     */
    @Schema(description = "登录IP", example = "")
    private String loginIp;
    /**
     * 失败次数
     */
    @Schema(description = "失败次数", example = "")
    private Integer loginFailure;
    /**
     * 真实姓名
     */
    @Schema(description = "真实姓名", example = "")
    private String realName;
    /**
     * 身份证号码(实名认证)
     */
    @Schema(description = "身份证号码(实名认证)", example = "")
    private String idCard;
    /**
     * 二维码
     */
    @Schema(description = "二维码", example = "")
    private String qrCode;
    /**
     * 手机号码对好友可见 0不可见 1可见
     */
    @Schema(description = "手机号码对好友可见 0不可见 1可见", example = "")
    private Integer showMobileConfig;
    /**
     * 0公开1好友 2仅自己
     */
    @Schema(description = "0公开1好友 2仅自己", example = "")
    private Integer showInfoConfig;
    /**
     * 通过手机号搜索 0不能搜索  1可以搜索
     */
    @Schema(description = "通过手机号搜索 0不能搜索  1可以搜索", example = "")
    private Integer searchPhone;
    /**
     * 用户角色 1老师 2学生 3家长
     */
    @Schema(description = "用户角色 1老师 2学生 3家长", example = "")
    private Integer userRole;
}
